#include "PointLabCore/Object.h"

namespace PointLabCore
{
	Object::Object()
		:mName("unnamed")
	{
	}

	Object::Object(std::string name)
		: mName(name)
	{
	}

	Object::Object(const Object& obj)
		: mName(obj.mName)
	{
	}

	Object::~Object()
	{
	}

	void Object::setName(const std::string& name)
	{
		mName = name;
	}

	std::string Object::getName() const
	{
		return mName;
	}

	bool Object::isA(CLASS_TYPE type) const
	{
		return classID() == type;
	}

	CLASS_TYPE Object::classID() const
	{
		return CLASS_TYPE::OBJECT;
	}
}